import { useFenLeiString } from '@/api/fenLeiApi';
import useFenLeiPinia from '@/stores/models/useFenLeiPinia';

const fenLeiPinia = useFenLeiPinia()

// 获取分类数据,把最新数据给仓库
const getfenLeiString = async () => {
  //   const res = await useFenLeiString()
    const res = await useFenLeiString()
    fenLeiPinia.fenLeiString = res
    // console.log('仓库存入的内容是', res.data.data)
    return
  } 

export default getfenLeiString
